Removes the first occurrence of a specific object from the ListBase.
'Declaration
Public Overridable Function Remove( _
ByVal As _
) As Boolean
'Usage
Dim instance As ListBase(Of T)
Dim item As
Dim value As Boolean
value = instance.Remove(item)
public virtual bool Remove(
)
Parameters
- item
- The object to remove from the ListBase.
Return Value
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the ListBase.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2